#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
main()
{
	int a = 5, b = 4, c = 6, d;
	printf("%d\n", d = a > b ? (a > c ? a : c) : (b));
}